#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

typedef struct soft_arr
{
	int a;
	int arr[0];
}soft_arr;


int main()
{

	soft_arr* s = (soft_arr*)malloc(sizeof(soft_arr) + 40);
	if(s == NULL)
	{
		perror("malloc");
	}

	memset(s, 0, 44);
	for (int i = 0; i < 10; i++)
	{
		printf("%d ", s->arr[i]);
	}

	free(s);
	s = NULL;


	return 0;
}
